package com.isdepci.project.result.domain;

import com.isdepci.framework.aspectj.lang.annotation.Excel;
import com.isdepci.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;
import java.math.BigDecimal;

/**
 * 范围排放量对象 tpf_emissions_breakdown
 *
 * @author isdepci
 * @date 2023-09-05
 */
public class EmissionsBreakdown extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long scopeId;

    /** 范围(1-范围1/2-范围2/3-范围3) */
    @Excel(name = "范围(1-范围1/2-范围2/3-范围3)")
    private Integer scope;

    /** 吨CO2e */
    @Excel(name = "吨CO2e")
    private BigDecimal metricTonnesCo2e;

    public void setScopeId(Long scopeId)
    {
        this.scopeId = scopeId;
    }

    public Long getScopeId()
    {
        return scopeId;
    }
    public void setScope(Integer scope)
    {
        this.scope = scope;
    }

    public Integer getScope()
    {
        return scope;
    }
    public void setMetricTonnesCo2e(BigDecimal metricTonnesCo2e)
    {
        this.metricTonnesCo2e = metricTonnesCo2e;
    }

    public BigDecimal getMetricTonnesCo2e()
    {
        return metricTonnesCo2e;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("scopeId", getScopeId())
            .append("scope", getScope())
            .append("metricTonnesCo2e", getMetricTonnesCo2e())
            .toString();
    }
}
